All Packages Class Hierarchy This Package Previous Next Index
Class quicktime.qd3d.camera.OrthographicCameraData
java.lang.Object
|
+----quicktime.util.QTByteObject
|
+----quicktime.qd3d.camera.CameraData
|
+----quicktime.qd3d.camera.OrthographicCameraData
- public final class OrthographicCameraData
- extends CameraData
- implements PrimitivesLib
OrthographicCameraData contains information for the camera angle and position.
The lens characteristics are set with the dimensions of a
rectangular viewPort in the frame of the camera.
Refer to TQ3OrthographicCameraData in QuickDraw3d
-
kNativeSize
- This is the size (the number of bytes) that are required for this class
-
OrthographicCameraData()
- Creates a OrthographicCameraData object containing no data.
-
OrthographicCameraData(CameraData, float, float, float, float)
- Creates a OrthographicCameraData object containing given data.
-
clone()
- Returns a copy of this class.
-
getBottom()
- returns the bottom position
-
getLeft()
- returns the left position
-
getRight()
- returns the right position
-
getTop()
- returns the top position
-
setBottom(float)
- sets the bottom position
-
setLeft(float)
- sets the left position
-
setRight(float)
- sets the right position
-
setTop(float)
- sets the top position
kNativeSize
public static final int kNativeSize
- This is the size (the number of bytes) that are required for this class
OrthographicCameraData
public OrthographicCameraData()
- Creates a OrthographicCameraData object containing no data.
OrthographicCameraData
public OrthographicCameraData(CameraData cameraData,
float left,
float top,
float right,
float bottom)
- Creates a OrthographicCameraData object containing given data.
- Parameters:
- cameraData - The camera data.
- left - The left position.
- top - The top position.
- right - The right position.
- bottom - The bottom position.
getLeft
public float getLeft()
- returns the left position
getTop
public float getTop()
- returns the top position
getRight
public float getRight()
- returns the right position
getBottom
public float getBottom()
- returns the bottom position
setLeft
public void setLeft(float left)
- sets the left position
setTop
public void setTop(float top)
- sets the top position
setRight
public void setRight(float right)
- sets the right position
setBottom
public void setBottom(float bottom)
- sets the bottom position
clone
public Object clone()
- Returns a copy of this class.
- Overrides:
- clone in class CameraData
All Packages Class Hierarchy This Package Previous Next Index